<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'update_topic.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<script type="text/javascript" src="ckeditor/ckeditor.js"></script>

  </head>
  
  <body>
    <form method="post" action="topicAction!updateTopic.action">
			<table>
				<tr>
					<td>
						帖子标题
					</td>
					<td>
						<input name="topic.title" type="text" value="><s:property value='topic.title' />">
					</td>
				</tr>
                <tr>
					<td>
						文章内容
					</td>
					<td>
						<textarea name="topic.content"
							class="jquery_ckeditor">
							<s:property value='topic.content' />
						</textarea>
					</td>
				</tr>
                <tr>
                <td><input  type="submit" value="提交"></td>
                <td><input  type="reset" value="重置"></td>
                </tr>
			</table>
		</form>

  </body>
</html>
